package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.entity.Upload;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author GE-LV5
 * @create 2023/2/27 15:18
 */
public interface UploadMapper extends BaseMapper<Upload> {



    /**
     * 查询文件上传列表
     */
    List<Upload> selectUploadList(Upload upload);

    /**
     * 添加文件
     *
     * @param upload
     * @return
     */
    int insertUpload(Upload upload);

    /**
     * 修改文件上传
     *
     * @param upload
     * @return
     */
    int updateUpload(Upload upload);

    /**
     * 删除文件上传
     */
    int deleteUploadByIds(@Param("ids") String ids[]);


}
